Skip to content

Conversation

ralfhandl
Copy link
Contributor

The spec site needs Markdown lander pages for showing the latest schema iterations with syntax highlighting, for example https://spec.openapis.org/oas/3.2/schema/2025-09-17.html.

Up to now these files had to be manually created when schemas were published the first time for a MAJOR.MINOR spec version, for example via

Now these lander pages are created by copying the corresponding lander page from the preceding spec version and adjusting it to match the newly published MAJOR.MINOR spec version.

Note

Whenever a new (major) spec version changes the way the schema files are named or structured, lander pages for schema files with new names have to be manually created, and copied lander pages may need to be updated if the purpose of the schema file has changed.

  • no schema changes are needed for this pull request

copy lander of preceding version and adjust version in lander
@ralfhandl ralfhandl requested review from a team as code owners October 7, 2025 09:13
@ralfhandl
Copy link
Contributor Author

@ralfhandl
Copy link
Contributor Author

ralfhandl commented Oct 7, 2025

Now Linkspector works, but npmjs.org refuses to let it access a package that we mention in the style guide:

Cannot reach https://www.npmjs.com/package/markdownlint Status: 403

This might be a temporary problem, after all the same check worked fine with

But I strongly dislike things that randomly fail.

I could change the style guide and reference the packages Github repository https://github.com/DavidAnson/markdownlint instead, hoping that Github will not deny a Github workflow access to one of its repos 😎

Or I could change the Linkspector configuration and add 403 to the list of alive status codes because 403 kind of means that the page exists and the server just refuses accessing it 😁

Or I could exclude the style guide from the link check 😢

Not quite sure which alternative I dislike least 🙄

@lornajane @handrews Any preferences?

@ralfhandl ralfhandl closed this Oct 7, 2025
@ralfhandl ralfhandl reopened this Oct 7, 2025
@ralfhandl ralfhandl merged commit 710094e into OAI:main Oct 7, 2025
3 of 6 checks passed
@ralfhandl ralfhandl deleted the main-schema-publish-create-jekyll-lander branch October 7, 2025 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants